package com.power.service;

import com.power.ov.ResultData;

import java.sql.SQLException;

/**
 * Created with IntelliJ IDEA.
 * User: 朱雄
 * Date: 2020/10/09 11:29
 * Description:
 * Version: V1.0
 */
public interface InformationService {
    /**
     * 查询所有消缺任务
     * @return
     */
    ResultData eliminateAll() throws SQLException;

    /**
     * 根据用户账号查询
     * @param account
     * @return
     */
    ResultData eliminateByAccount(String account) throws SQLException;

    /**
     * 缺陷等级查询
     * @return
     */
    ResultData inspectionAll() throws SQLException;

    /**
     * 根据用户账号查询和等级
     * @param account
     * @return
     */
    ResultData inspectionByAccount(String account,String defect) throws SQLException;
}
